package com.chance.cc.crawler.development.command.publish.hupu;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.development.command.job.domain.hupu.HupuModuleKeywordRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.development.command.trigger.domain.hupu.HupuCrawlerTriggerInfo;

/**
 * @Author Zhao.Hhuan
 * @Date Create in 2021/4/11 10:56
 * @Description
 *      虎扑
 **/
public class HupuPublishCrawlerJob {

    public static void main(String[] args) {
        publishSimpleCrawlerJob();
//        HupuCrawlerScript.publishCrawlerNodeScript();
    }

    private static void publishSimpleCrawlerJob(){
        CrawlerJob crawlerJob = HupuModuleKeywordRealtimeCrawlerSchedulerJob.crawlerSchedulejob();
        HupuCrawlerTriggerInfo.simpleCrawlerScheduleTriggerInfo(crawlerJob.generateCrawlerKey(),crawlerJob.generateCrawlerTriggerKey());
    }
}
